/* 主页样式表 */
/* 顶部导航条容器 */
.topbar-wrapper {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #333;
}

.service,
.topbar li {
    float: left;
}

.app {
    position: relative;
}

.app .tranlog {
    display: none;
    position: absolute;
    border: 6px solid transparent;
    width: 0;
    height: 0;
    background-color: #000;
    border-top: none;
    border-bottom-color: #fff;
    bottom: 0px;
    left: 15px;
    z-index: 9999;
}

.app:hover .qrcode,
.app:hover .tranlog {
    display: block;
}

.app .qrcode {
    display:none;
    position: absolute;
    width: 124px;
    height: 148px;
    background-color: #fff;
    line-height: 1;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    z-index: 999;
}

.app .qrcode img {
    width: 90px;
    margin: 17px 17px;
}

.app .qrcode span {
    font-size: 12px;
    color: #000;
}

.shop-cart,
.user-info {
    position: relative;
    float: right;
    height: 40px;
}

.shop-cart:hover .info {
    display: block;
    border: 1px solid #fff;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, .2);
}

.shop-cart .info {
    display: none;
    line-height: 100px;
    position: absolute;
    top: 40px;
    left: -150px;
    background-color: #fff;
    width: 270px;
    height: 100px;
}

.shop-cart .info span {
    margin: 0 18px;
}

/* 设置超链接 */
.topbar a {
    font-size: 12px;
    color: #b0b0b0;
    display: block;
}

.topbar a:hover {
    color: #fff;
}

.topbar .line {
    font-size: 12px;
    color: #424242;
    margin: 0 8px;
}

.shop-cart {
    margin-left: 25px;
    z-index: 9999;
}

.shop-cart a {
    width: 120px;
    background-color: #424242;
    text-align: center;
   
}

.shop-cart:hover a {
    background-color: #fff;
    color: #ff6700;
}

.shop-cart i {
    margin-right: 5px;
}

/*设置中间header */
.header-wrapper{
    position: relative;
}
.header {
    height: 100px;
}

.header .logo {
    float: left;
    margin-top: 22px;
}

.header .logo a {
    display: block;
    width: 65px;
    height: 65px;
    background-color: #ff6700;
    background-image: url(../img/logo.png);
    background-position: center;
    border-radius: 35%;
}

.header .nav-wrapper {
    float: left;
    margin-left: 7px;
}

.header .nav {
    line-height: 100px;
    padding-left: 58px;
}

.nav-wrapper li {
    float: left;

}

.nav-wrapper li a {
    display: block;
    font-size: 16px;
    color: #000;
    margin-right: 20px;
}

.nav-wrapper li a:hover {
    color: #ff6700;
}

.goods-info {
    overflow: hidden;
    height: 0;
    width: 100%;
    background-color:#fff ;
    /* border-top:1px solid rgb(224,224,224); */
    position: absolute;
    top: 100px;
    left: 0;
    /* box-shadow:0 5px 3px rgba(0, 0, 0, .2); */
    transition: height 0.3s;
    z-index: 99999;
}
.nav .showgoods:hover~.goods-info,
.goods-info:hover{
    height: 228px;
    box-shadow:0 5px 3px rgba(0, 0, 0, .2);
    border-top:1px solid rgb(224,224,224);

}
.search-wrapper{
    width: 296px;
    height: 50px;
   
    float:right;
    margin-top:25px;
    border:1px solid rgb(224, 224,224)
}
.search-wrapper .search-inp{
    float:left;
    height: 50px;
    border: none;
    padding: 0 10px;
    width: 224px;
    font-size: 15px;
}
/* 设置input获取焦点后的样式 */
.search-wrapper .search-inp:focus,
.search-wrapper .search-inp:focus+button{
    outline: 1px solid #ff6700;
}
.search-btn{
    float: left;
    height: 50px;
    width: 52px;
    padding: 0;
    border: none;
    background-color: #fff;
    font-size: 16px;
    border-left: 1px solid rgb(224, 224,224);
}
.search-wrapper .search-btn:hover{
    background-color: #ff6700;
    color: #fff;
    border: none;
}
.body-wrapper{
    height: 525px;
    position: relative;
}
.body-wrapper .left-menu{
    padding-top: 15px; ;
    position: relative;
    width: 234px;
    height: 510px;;
    background-color: rgb(0,0,0,.5);
    z-index: 9999;
}
.body-wrapper .left-menu li{
    line-height: 50px;
    padding-left:25px ;
    position: relative;
}
.body-wrapper .left-menu li:hover{
    background-color: #ff6700;
}
.body-wrapper .left-menu li a{
    color: #fff;
    display: block;
}
.body-wrapper .left-menu li .arrow{
    position: absolute;
    right: 20px;
    top:15px;
    font-size: 20px;
}
.banner .img-list li{
    position:absolute;
    top: 0px;
}
.banner img{
    width: 100%;
    height: 525px;
}
/* 设置导航点 */
.pointer{
    position:absolute;
    bottom: 22px;
    right: 35px;

}
.pointer a{
    float: left;
    width: 6px;
    height: 6px;
    border:2px solid rgb(110, 108, 108);
    border-radius: 50%;
    background-color: #424242;
    margin-left: 8px;
}
.pointer a:hover,
.pointer a.active{
    background-color: white;
}
/* 设置两个箭头 */
.prev-next a{
    width: 41px;
    height: 69px;
    color: #b0b0b0;
    position:absolute;
    z-index: 999;
    top:0;
    bottom: 0;
    margin: auto;
    font-size: 25px;
}
.prev{
    left: 234px;
}
.prev i,
.next i{
    position: absolute;
    top:25px
}
.next i{
    right: 5px;
}
.next{
    right:0;
}
.prev:hover,.next:hover{
    background-color: #424242;
    color: white;
}
.backtop{
    width: 60px;
    height: 300px;
    position: fixed;
    bottom:100px;
    right:0;
}
.backtop ul li a{
    display: block;
    height:60px;
    text-align: center;
    font-size: 1px;
    color:#b0b0b0;
    border:1px solid #fff;
    box-shadow: 0 0 2px rgb(110, 108, 108);
}
.backtop ul li a i{
    display: block;
    font-size: 35px;
    text-align: center;
}
.backtop ul li a:hover{
    color: #ff6700;
}
.foot-wrapper{
    position: relative;
    top: 20px;
    background-color: red;
}
.ad{
    float: left;
    width: 234px;
}
.ad ul{
    margin: 0;
    padding: 3px;
    font-size: 12px;
    text-align: center;
    background: #5f5750;
}
.ad li{
    display: inline-block;
    height: 79px;
    width: 72px;
   box-shadow: 0 0 3px rgb(110, 108, 108) ;
}
.ad a{
    color: #fff;
}
.ad a:hover{
    color:#ff6700
}
.ad i{
    display: block;
    line-height: 40px;
    font-size: 18px;
}
.pic a{
    display: block;
    float: left;
    margin-left: 25px;
}
.pic img{
    width: 305px;
}
